package itdfq.dfq.Structural_Patterns.daili;

/**
 * @Author GocChin
 * @Date 2021/5/3 14:34
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("18031210111  段方钦");
        AbstractPer abstractPer;
        abstractPer= (AbstractPer) XMLUtil.getBean();
        abstractPer.shop();
        abstractPer.purchase();
        System.out.println("------------------------------------------");
        abstractPer.setMaek(1);
        abstractPer.shop();
        abstractPer.purchase();
    }
}
